import { Controller } from 'egg';

export default class HomeController extends Controller {
  public async index() {
    const { ctx } = this;
    // let result= await ctx.requestAll('http://dev-me.otosaas.com/api/jiayouka/v1/list');
    // console.log(result.data)
    console.log('ready do it ');
    // console.log(ctx.model);
    ctx.model.User.doit();
    ctx.body = await ctx.service.test.sayHi('egg');
  }
}
